﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.Domain.WarehouseManagement
{
    /// <summary>
    /// 采购发票表
    /// </summary>
    [Table("PurchaseInvoice")]
    public class PurchaseInvoice : BaseEntity
    {
        /// <summary>
        /// 单据编码
        /// </summary>
        public string DocumentCode {  get; set; }
        /// <summary>
        /// 业务类型
        /// </summary>
        public string BusinessType {  get; set; }
        /// <summary>
        /// 供应商Id(厂家名称)
        /// </summary>
        public long SupplierId {  get; set; }
        /// <summary>
        /// 开票日期
        /// </summary>
        public DateTime InvoiceDate {  get; set; }
        /// <summary>
        /// 发票上传
        /// </summary>
        public string InvoiceUpload {  get; set; }
        /// <summary>
        /// 单据日期
        /// </summary>
        public string DocumentDate { get; set; }
        /// <summary>
        /// 操作员
        /// </summary>
        public string Operator {  get; set; }
        /// <summary>
        /// 税号
        /// </summary>
        public string TaxNumber {  get; set; }
        /// <summary>
        /// 红字蓝宇
        /// </summary>
        public string RedBlue {  get; set; }
        /// <summary>
        /// XML格式
        /// </summary>
        public string XMLFormat {  get; set; }
        /// <summary>
        /// 单据状态
        /// </summary>
        public string DocumentStatus {  get; set; }
        /// <summary>
        /// 审批员
        /// </summary>
        public string Auditor {  get; set; }
        /// <summary>
        /// 发票类型
        /// </summary>
        public string InvoiceType {  get; set; }
        /// <summary>
        /// 发票金额
        /// </summary>
        public string InvoiceAmount {  get; set; }
        /// <summary>
        /// OFD格式
        /// </summary>
        public string OFDFormat {  get; set; }
        /// <summary>
        /// 业务状态
        /// </summary>
        public string BusinessStatus {  get; set; }
        /// <summary>
        /// 审批日期
        /// </summary>
        public DateTime ReviewDate {  get; set; }
        /// <summary>
        /// 发票代码
        /// </summary>
        public string InvoiceCode {  get; set; }
        /// <summary>
        /// 税额
        /// </summary>
        public string TaxAmount {  get; set; }
        /// <summary>
        /// 发票状态
        /// </summary>
        public string InvoiceStatus {  get; set; }
        /// <summary>
        /// 发票号码
        /// </summary>
        public string InvoiceNumber {  get; set; }
        /// <summary>
        /// 价税合计
        /// </summary>
        public string TotalTax {  get; set; }
        /// <summary>
        /// 备注信息
        /// </summary>
        public string Remarks {  get; set; }
    }
}
